
package com.yjh.admin.server.chronic.impl;


import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yjh.admin.entity.chronic.Reference;
import com.yjh.admin.mapper.chronic.ReferenceMapper;
import com.yjh.admin.server.chronic.ReferenceService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 体征参考
 *
 * @author GuoBin
 * @date 2020-08-14 16:51:45
 */
@Service
public class ReferenceServiceImpl extends ServiceImpl<ReferenceMapper, Reference> implements ReferenceService {

	@Override
	public List<Reference> queryReferenceByType(Integer type) {
		return baseMapper.selectList(Wrappers.<Reference>query().lambda().eq(Reference::getType,type));
	}
}
